//
//  HHMarcos.h
//  NineteenBook
//
//  Created by xhkj on 2021/8/2.
//  Copyright © 2021 58阅读. All rights reserved.
//

#ifndef SYYTheme_h
#define SYYTheme_h

#import "UIColor+Hex.h"



/**
 * 图片
 */
#define HHIMAGE(name) [UIImage imageNamed:name]
#define HHLIBIMAGE(name) [SYYTools getImageForName:name]



/**
 * 颜色
 */
#define HHColorRGB(r,g,b,a)            ([UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:(a)])
#define HHColorHexStr(rgbValue)        [UIColor colorWithHexString:rgbValue andAlpha:1.0]
#define HHColorHexAlpStr(rgbValue,alp) [UIColor colorWithHexString:rgbValue andAlpha:alp]

#define HHColorHex(rgbValue)         [UIColor colorWithHexValue:rgbValue]
#define HHColorHexAlpha(rgbValue,a)  [UIColor colorWithHexValue:rgbValue alpha:a]


//蓝色
#define HHColorMain       HHColorHex(0x008AFF)
#define HHColorMainLight  HHColorHexAlpha(0x008AFF,0.1)//浅蓝色

//白色
#define HHColorHexFFFFFF  HHColorHex(0xFFFFFF)
#define HHColorBgColor HHColorHex(0xF7F7FC)//背景色

//灰色->黑色
#define HHColorHexf3f5f7  HHColorHex(0xf3f5f7)
#define HHColorHexF2F2F2  HHColorHex(0xF2F2F2)
#define HHColorHexEEEEEE  HHColorHex(0xEEEEEE)
#define HHColorHexe6e6e6  HHColorHex(0xe6e6e6)
#define HHColorHexc7c7c7  HHColorHex(0xc7c7c7)
#define HHColorHex979797  HHColorHex(0x979797)
#define HHColorHex707070  HHColorHex(0x707070)
#define HHColorHex666666  HHColorHex(0x666666)
#define HHColorHex343434  HHColorHex(0x343434)
#define HHColorHex000000  HHColorHex(0x000000)

//红色
#define HHColorHexEF4035  HHColorHex(0xEF4035)




/**
 * 字体
 */
#define HHFont(value) [UIFont systemFontOfSize:value]

#define HHFont32  [UIFont systemFontOfSize:32]
#define HHFont30  [UIFont systemFontOfSize:30]
#define HHFont20  [UIFont systemFontOfSize:20]
#define HHFont18  [UIFont systemFontOfSize:18]
#define HHFont16  [UIFont systemFontOfSize:16]
#define HHFont14  [UIFont systemFontOfSize:14]
#define HHFont13  [UIFont systemFontOfSize:13]
#define HHFont12  [UIFont systemFontOfSize:12]
#define HHFont11  [UIFont systemFontOfSize:11]
#define HHFont10  [UIFont systemFontOfSize:10]

#define HHBoldFont(value)  [UIFont fontWithName:@"Helvetica-Bold" size:value]
#define HHBoldFont2(value) [UIFont fontWithName:@"Thonburi-Bold" size:value]



#endif /* HHTheme_h */
